{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "initial_id",
   "metadata": {
    "collapsed": true,
    "ExecuteTime": {
     "end_time": "2025-08-27T08:59:41.676090Z",
     "start_time": "2025-08-27T08:59:36.499074Z"
    }
   },
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "/opt/anaconda3/envs/finance/lib/python3.11/site-packages/requests/__init__.py:86: RequestsDependencyWarning: Unable to find acceptable character detection dependency (chardet or charset_normalizer).\n",
      "  warnings.warn(\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "          序号    基金代码            基金简称          日期    单位净值    累计净值  日增长率   近1周  \\\n",
      "0          1  018124   永赢先进制造智选混合发起A  2025-08-26  2.1904  2.1904 -1.95 -0.48   \n",
      "1          2  018125   永赢先进制造智选混合发起C  2025-08-26  2.1708  2.1708 -1.95 -0.49   \n",
      "2          3  018993     中欧数字经济混合发起A  2025-08-26  2.5300  2.5300 -1.03  6.84   \n",
      "3          4  018994     中欧数字经济混合发起C  2025-08-26  2.5009  2.5009 -1.03  6.82   \n",
      "4          5  014938       同泰产业升级混合A  2025-08-26  1.9461  1.9461 -0.43  0.91   \n",
      "...      ...     ...             ...         ...     ...     ...   ...   ...   \n",
      "18120  18121  023307       方正富邦稳鑫纯债A  2025-08-22  1.0000  1.0000   NaN   NaN   \n",
      "18121  18122  024509  泓德上证科创板综合指数增强A  2025-08-26  1.0443  1.0443 -0.18   NaN   \n",
      "18122  18123  024396     东兴产业升级混合发起A  2025-08-26  0.9969  0.9969 -0.28 -0.31   \n",
      "18123  18124  024023     申万菱信行业精选混合A  2025-08-26  0.9564  0.9564 -1.34   NaN   \n",
      "18124  18125  025331     民生加银聚优精选混合C  2025-08-26  0.7957  0.7957  1.63   NaN   \n",
      "\n",
      "         近1月    近3月    近6月     近1年     近2年    近3年     今年来     成立来         自定义  \\\n",
      "0      11.87  15.11   1.71  207.90  116.61    NaN   73.18  119.04  213.676100   \n",
      "1      11.83  15.00   1.51  206.70  114.87    NaN   72.72  117.08  212.390300   \n",
      "2      29.34  74.75  57.14  205.85     NaN    NaN   99.79  153.00  208.499000   \n",
      "3      29.27  74.50  56.69  204.06     NaN    NaN   99.02  150.09  206.708400   \n",
      "4      10.80  13.70  87.94  184.27  148.67  81.07  141.03   94.61  184.642400   \n",
      "...      ...    ...    ...     ...     ...    ...     ...     ...         ...   \n",
      "18120    NaN    NaN    NaN     NaN     NaN    NaN     NaN    0.00         NaN   \n",
      "18121    NaN    NaN    NaN     NaN     NaN    NaN     NaN    4.43    4.430000   \n",
      "18122    NaN    NaN    NaN     NaN     NaN    NaN     NaN   -0.31   -0.310000   \n",
      "18123   1.37    NaN    NaN     NaN     NaN    NaN     NaN   -4.36   -4.360000   \n",
      "18124    NaN    NaN    NaN     NaN     NaN    NaN     NaN    1.63    1.634947   \n",
      "\n",
      "         手续费  \n",
      "0      0.15%  \n",
      "1      0.00%  \n",
      "2      0.15%  \n",
      "3      0.00%  \n",
      "4      0.15%  \n",
      "...      ...  \n",
      "18120  0.08%  \n",
      "18121  0.12%  \n",
      "18122  0.12%  \n",
      "18123  0.15%  \n",
      "18124  0.00%  \n",
      "\n",
      "[18125 rows x 18 columns]\n"
     ]
    }
   ],
   "source": [
    "import akshare as ak\n",
    "\n",
    "fund_open_fund_rank_em_df = ak.fund_open_fund_rank_em(symbol=\"全部\")\n",
    "print(fund_open_fund_rank_em_df)"
   ]
  },
  {
   "cell_type": "code",
   "outputs": [],
   "source": [],
   "metadata": {
    "collapsed": false
   },
   "id": "d0137a95548983aa"
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 2
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython2",
   "version": "2.7.6"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
